<script type="text/javascript">
//查询前插view信息,f_ccadver_contentid可能为catalogid，f_ccadver_type 0 ：代表全局，1：代表分类，2：代表内容
function getAdvertisementInfo(relativePathPrefix,f_ccadver_contentid,f_ccadver_type,callback){
	var url = relativePathPrefix+"advertisement/getAdvertisementInfo.do?f_ccadver_contentid="+f_ccadver_contentid+"&f_ccadver_type="+f_ccadver_type;
	var ajax = new AJAX_OBJ(url,callback);
	ajax.requestData();
}

//f_am_id查询前插view信息
function getAdvertisementView(relativePathPrefix,f_am_id,callback){
	var url = relativePathPrefix+"advertisement/getAdvertisementView.do?f_am_id="+f_am_id;
	var ajax = new AJAX_OBJ(url,callback);
	ajax.requestData();
}

</script>